package net.sunxiaolong.tool.captureinsureknowledge.entity;

import lombok.Data;
import org.springframework.context.annotation.Lazy;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Lob;
import java.io.Serializable;

/**
 * @author 晓龙
 * @create 2018-08-14 上午11:26
 * @desc 中国人寿知识库
 **/
@Data
@Entity
public class GpicKnowledge implements Serializable {

    @Id
    private Long id;

    private String title;

    @Lazy
    @Lob
    private String content;

    private String url;


    public GpicKnowledge() {
    }

    public GpicKnowledge(Long id, String title, String content, String url) {
        this.id = id;
        this.title = title;
        this.content = content;
        this.url = url;
    }
}
